let week_tu = function(date){
  let week = ["星期天","星期一","星期二","星期三","星期四","星期五","星期六"];
  let len = date.indexOf("-");
  if(len>0){
    let getduy = date.replace(/-/g,",");
  }else{
    let getduy = date;
  }
  let item = new Date(getduy);

  return week[item.getDay()]
}
export default{
  week_tu
}
